﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using The_Last_Knights.GUI;

namespace The_Last_Knights.GameScreen
{
    public class BackgroundScreen: StaticScreen
    {
        ContentForm _formMenu;

        public ContentForm FormMenu
        {
            get { return _formMenu; }
        }

        public BackgroundScreen(Game game, string ID, string background, ContentForm form) : base(game, ID, background)
        {
            _formMenu = form;            
        }

        public override void Update(GameTime gameTime)
        {
            if (_formMenu != null)
                _formMenu.Update(gameTime);
            base.Update(gameTime);
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
            if (_formMenu != null)
                _formMenu.Draw(gameTime);
        }
    }
}
